中兴e8820s刷机

您所在的位置:网站首页 e8820v2 刷固件 中兴e8820s刷机

中兴e8820s刷机

#中兴e8820s刷机| 来源: 网络整理| 查看: 265

本帖最后由 sivs147 于 2020-5-17 16:48 编辑

2020/05/17

最新板OPEWNRT官方源碼,核心更新為5.4版,因此,文件有改重新修正,

目前交換晶片改DSA驅動,所以SWconfig的VLAN控制方式,不能再用了

有用到VLAN需安裝ip-bridge.apk

設定檔建議不要保留,採用全新設定,不然會出現怪問題

1.資料夾結構有小改,需要注意

2.UI有兩種預設是原OPENWRT風格、2020風格

3.OPENWRT r13243下載網址链接:https://share.weiyun.com/32425FJv 密码:7pwhze

以下版本適用OPENWRT 19.02之後的版本,核心改5.4

須修改兩個檔案,新增一個檔案

./target/linux/ramips/mt7621/base-files/etc/board.d/01_leds(須修改)

./target/linux/ramips/image/mt7621.mk(須修改)./target/linux/ramips/dts/mt7621_zte_e8820v2.dts(新增)

1.    ./target/linux/ramips/mt7621/base-files/etc/board.d/01_leds  新增

=======================================================================================

zte,e8820v2)

ucidef_set_led_netdev"sys" "SYS_LED" "$boardname:white:sys""eth0" "tx rx"

ucidef_set_led_default"power" "POWER_LED" "$boardname:white:power""1"

;;

======================================================================================

2.         ./target/linux/ramips/image/mt7621.mk

新增

=======================================================================================

define Device/zte_e8820v2

IMAGE_SIZE := 16064k

DEVICE_VENDOR := ZTE

DEVICE_MODEL := E8820V2

DEVICE_PACKAGES := \

kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad luci

endef

TARGET_DEVICES += zte_e8820v2

=======================================================================================

3. ./target/linux/ramips/dts/mt7621_zte_e8820v2.dts

新增

=======================================================================================

/dts-v1/;

#include "mt7621.dtsi"

#include

#include

/ {

compatible = "zte,e8820v2", "mediatek,mt7621-soc";

model = "ZTE E8820V2";

aliases {

led-boot = &led_sys;

led-failsafe = &led_sys;

led-running = &led_sys;

led-upgrade = &led_sys;

};

chosen {

bootargs = "console=ttyS0,115200";

};

leds {

compatible = "gpio-leds";

led_sys:sys {

label = "e8820v2:white:sys";

gpios = ;

};

led_power:power {

label = "e8820v2:white:power";

gpios = ;

};

};

keys {

compatible = "gpio-keys";

reset {

label = "reset";

gpios = ;

linux,code = ;

};

wps {

label = "wps";

gpios = ;

linux,code = ;

};

};

};

&spi0 {

status = "okay";

m25p80@0 {

compatible = "jedec,spi-nor";

reg = ;

spi-max-frequency = ;

partitions {

compatible = "fixed-partitions";

#address-cells = ;

#size-cells = ;

partition@0 {

label = "u-boot";

reg = ;

read-only;

};

partition@30000 {

label = "u-boot-env";

reg = ;

read-only;

};

factory: partition@40000 {

label = "factory";

reg = ;

read-only;

};

partition@50000 {

compatible = "denx,uimage";

label = "firmware";

reg = ;

};

};

};

};

&pcie {

status = "okay";

};

&pcie0 {

mt76@0,0 {

reg = ;

mediatek,mtd-eeprom = ;

led {

led-active-low;

};

};

};

&pcie1 {

mt76@0,0 {

reg = ;

mediatek,mtd-eeprom = ;

ieee80211-freq-limit = ;

led {

led-sources = ;

led-active-low;

};

};

};

&gmac0 {

mtd-mac-address = ;

};

&switch0 {

ports {

port@4 {

status = "okay";

label = "wan";

mtd-mac-address = ;

};

port@0 {

status = "okay";

label = "lan1";

};

port@1 {

status = "okay";

label = "lan2";

};

port@2 {

status = "okay";

label = "lan3";

};

port@3 {

status = "okay";

label = "lan4";

};

};

};

&state_default {

gpio {

groups = "i2c", "uart2", "uart3", "wdt";

function = "gpio";

};

};

=======================================================================================

以下版本適用OPENWRT 19.07

須修改三個檔案,新增一個檔案

./target/linux/ramips/mt7621/base-files/etc/board.d/01_leds(路徑有修改)

./target/linux/ramips/mt7621/base-files/etc/board.d/02_network(路徑有修改)

./target/linux/ramips/image/mt7621.mk(須修改)

./target/linux/ramips/dts/mt7621_zte_e8820v2.dts(新增)

1.    ./target/linux/ramips/mt7621/base-files/etc/board.d/01_leds  新增

=======================================================================================

zte,e8820v2)

ucidef_set_led_netdev"sys" "SYS_LED" "$boardname:white:sys""eth0" "tx rx"

ucidef_set_led_default"power" "POWER_LED" "$boardname:white:power""1"

;;

======================================================================================

2.    ./target/linux/ramips/mt7621/base-files/etc/board.d/02_network  新增

=======================================================================================

zte,e8820v2)

ucidef_set_interfaces_lan_wan"eth0.1" "eth0.2"

ucidef_add_switch"switch0" "1" "1" \

"0:lan:1""1:lan:1" "2:lan:1" "3:lan:1" "4:wan:2""6t@eth0"

;;

=======================================================================================

3.         ./target/linux/ramips/image/mt7621.mk 新增

=======================================================================================

define Device/zte_e8820v2

MTK_SOC := mt7621

IMAGE_SIZE := 16064k

DEVICE_VENDOR := ZTE

DEVICE_MODEL := E8820V2

DEVICE_VARIANT := 16M

DEVICE_PACKAGES := \

kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad hostapd-utils luci

endef

TARGET_DEVICES += zte_e8820v2

=======================================================================================

4. ./target/linux/ramips/dts/mt7621_zte_e8820v2.dts

新增

=======================================================================================

/dts-v1/;

#include "mt7621.dtsi"

#include

#include

/ {

compatible = "zte,e8820v2", "mediatek,mt7621-soc";

model = "ZTE E8820V2";

aliases {

led-boot = &led_sys;

led-failsafe = &led_sys;

led-running = &led_sys;

led-upgrade = &led_sys;

};

chosen {

bootargs = "console=ttyS0,115200";

};

leds {

compatible = "gpio-leds";

led_sys:sys {

label = "e8820v2:white:sys";

gpios = ;

};

led_power:power {

label = "e8820v2:white:power";

gpios = ;

};

};

keys {

compatible = "gpio-keys-polled";

poll-interval = ;

reset {

label = "reset";

gpios = ;

linux,code = ;

};

wps {

label = "wps";

gpios = ;

linux,code = ;

};

};

};

&spi0 {

status = "okay";

m25p80@0 {

compatible = "jedec,spi-nor";

reg = ;

spi-max-frequency = ;

partitions {

compatible = "fixed-partitions";

#address-cells = ;

#size-cells = ;

partition@0 {

label = "u-boot";

reg = ;

read-only;

};

partition@30000 {

label = "u-boot-env";

reg = ;

read-only;

};

factory: partition@40000 {

label = "factory";

reg = ;

read-only;

};

partition@50000 {

compatible = "denx,uimage";

label = "firmware";

reg = ;

};

};

};

};

&pcie {

status = "okay";

};

&pcie0 {

mt76@0,0 {

reg = ;

mediatek,mtd-eeprom = ;

led {

led-active-low;

};

};

};

&pcie1 {

mt76@0,0 {

reg = ;

mediatek,mtd-eeprom = ;

ieee80211-freq-limit = ;

led {

led-sources = ;

led-active-low;

};

};

};

ðernet {

mtd-mac-address = ;

};

&pinctrl {

state_default: pinctrl0 {

gpio {

ralink,group = "i2c", "uart2", "uart3", "wdt";

ralink,function = "gpio";

};

};

};

============================================================================

以下版本僅適用於OPENWRT 18.06版

注意:更新完自動重開第一次無線都會無法載入,原因不明還再查找,但是確定移除電源重開就能載入

原廠EEPROM,不是每一台都一樣,建議最好備份自己機子的,如果沒有再考慮刷我的

https://share.weiyun.com/5clgMrS 密碼:ysvsyq

進入BREED刷完後,記得到MAC修改的位置紅色的部分填上原本的MAC

未命名.png (42.73 KB, 下载次数: 9)

2019-3-24 10:52 上传

如何編譯固件很多大神都有教學,我就提示要改哪些文件就好

如果有人能幫我上傳到GITHUB最好,因為我還搞不懂那個用法

編譯E8820V2須修改新增的檔案

共計五個如下

修改內容

./target/linux/ramips/base-files/etc/board.d/01_leds

./target/linux/ramips/base-files/etc/board.d/02_network

./target/linux/ramips/image/mt7621.mk

./target/linux/ramips/base-files/lib/ramips.sh

新增檔案

./target/linux/ramips/dts/E8820V2.dts

1.  ./target/linux/ramips/base-files/etc/board.d/01_leds

新增

=======================================================================================

zte,e8820v2)

ucidef_set_led_netdev"sys""SYS_LED" "$boardname:white:sys""eth0" "txrx"

ucidef_set_led_default"power""POWER_LED" "$boardname:white:power""1"

;;

=======================================================================================

3.   ./target/linux/ramips/base-files/etc/board.d/02_network

新增

=======================================================================================

zte,e8820v2)

ucidef_set_interfaces_lan_wan"eth0.1""eth0.2"

ucidef_add_switch"switch0""1" "1" \

"3:lan:1""2:lan:1""1:lan:1" "0:lan:1" "4:wan:2""6t@eth0"

;;

=======================================================================================

4.        ./target/linux/ramips/image/mt7621.mk

新增

=======================================================================================

define Device/zte_e8820v2

DTS := E8820V2

IMAGE_SIZE :=$(ralink_default_fw_size_16M)

DEVICE_TITLE := ZTE E8820V2

DEVICE_PACKAGES := \

kmod-mt76 kmod-mt7603 kmod-mt76x2 kmod-usb3kmod-usb-ledtrig-usbport wpad hostapd-utils

endef

TARGET_DEVICES += zte_e8820v2

=======================================================================================

5.        ./target/linux/ramips/base-files/lib/ramips.sh

新增

=======================================================================================

*"zte,e8820v2")

name="e8820v2"

;;

=======================================================================================

6.        ./target/linux/ramips/dts/E8820V2.dts

新增

=======================================================================================

/dts-v1/;

#include "mt7621.dtsi"

#include

#include

/ {

compatible ="zte,e8820v2","mediatek,mt7621-soc";

model ="ZTE E8820V2";

aliases {

led-boot= &led_sys;

led-failsafe= &led_sys;

led-running= &led_sys;

led-upgrade= &led_sys;

};

memory@0 {

device_type= "memory";

reg= ;

};

chosen {

bootargs= "console=ttyS0,115200";

};

leds {

compatible= "gpio-leds";

led_sys:sys{

label= "e8820v2:white:sys";

gpios= ;

};

led_power:power{

label= "e8820v2:white:power";

gpios= ;

};

};

keys {

compatible= "gpio-keys-polled";

poll-interval= ;

reset{

label= "reset";

gpios= ;

linux,code= ;

};

wps{

label= "wps";

gpios= ;

linux,code= ;

};

};

};

&spi0 {

status ="okay";

m25p80@0 {

compatible= "jedec,spi-nor";

reg= ;

spi-max-frequency= ;

partitions{

compatible= "fixed-partitions";

#address-cells= ;

#size-cells= ;

partition@0{

label="u-boot";

reg=;

read-only;

};

partition@30000{

label="u-boot-env";

reg=;

read-only;

};

factory:partition@40000 {

label="factory";

reg=;

read-only;

};

partition@50000 {

compatible= "denx,uimage";

label="firmware";

reg=;

};

};

};

};

&pcie {

status ="okay";

};

&pcie0 {

mt76@0,0 {

reg= ;

mediatek,mtd-eeprom= ;

led{

led-active-low;

};

};

};

&pcie1 {

mt76@0,0 {

reg= ;

mediatek,mtd-eeprom= ;

ieee80211-freq-limit= ;

led{

led-sources= ;

led-active-low;

};

};

};

ðernet {

mtd-mac-address= ;

};

&pinctrl {

state_default:pinctrl0 {

gpio{

ralink,group= "i2c", "uart2", "uart3","wdt";

ralink,function= "gpio";

};

};

};

=======================================================================================

如果可以建議用編程器複製出來再改刷,我測了四台都會有些微不同

第一台不知道在測試的時候發生什麼事,5G永遠都抓不到了

有注意到在進入Breed的時候,溫度會比在OP時候高,沒要刷別停著

不知道是不是停太久,燒掉了

修改符合OPENWRT如附圖

原廠==>新EEPROM

7603   0x2F000~0x2F12F==>0x0~0x7FFF     空的填FF

MT7603位址.png (72.43 KB, 下载次数: 8)

2019-3-22 09:38 上传

7612   0x2F800~0x2F9EF==>0x8000~0x81EF  空的填FF

MT7612位址.png (77.03 KB, 下载次数: 8)

2019-3-22 09:21 上传

有線MAC 0xE000開始填,E8820V2跟無線2.4G一樣,但是我看了WR1200JS的是前面填2.4GMAC,後面填有線MAC

舊版下載

由 https://pan.baidu.com/s/1f-8Jd8HNrpwT92MX2Z9c3A 提取碼: fz5d

裡面有breed也有樓主的固件,還有原版固件,但從breed刷不進去的

2020/02/11

花了點時間把802.11v和802.11k的網頁版改上去

已經有辦法改動/etc/config/wireless,但是用WIFI分析儀還是看不到

先放上來讓大家試試看,是不是我硬體的問題

鏈接:https://share.weiyun.com/5eCaBAt 密碼:94f3ju

R9.12.3

鏈接:https://share.weiyun.com/5p1Ip40 密碼:c2qdvx

r11684

鏈接:https://share.weiyun.com/5ZCjoeU 密碼:ifn6j7



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3